import request from '@/common/request'

// 获取销售列表
export function getSalerList(data) {
    return request({
        url: '/apiadmin/live/manager/getSalerList',
        method: 'post',
        data: data
    })
}
// 获取在线、离线用户
export function getLineUser(data) {
    return request({
        url: '/apiadmin/live/manager/getLineUser',
        method: 'post',
        data: data
    })
}

//获取用户评论列表
export function getPinglunList(data) {
    return request({
        url: '/apiadmin/live/manager/getPinglunList',
        method: 'post',
        data: data
    })
}
//获取用户评论列表
export function isUserSaler(data) {
    return request({
        url: '/apiadmin/live/manager/isUserSaler',
        method: 'post',
        data: data
    })
}

//获取销售邀请用户id列表
export function getSalerInvatationUserIds(data) {
    return request({
        url: '/apiadmin/live/manager/getSalerInvatationUserIds',
        method: 'post',
        data: data
    })
}

//设置商品售罄或取消商品售罄
export function sendCourseSellCommand(data) {
    return request({
        url: '/apiadmin/live/manager/sendCourseSellCommand',
        method: 'post',
        data: data
    })
}

//设置商品售罄或取消商品售罄
export function sendCourseSellCmd(data) {
    return request({
        url: '/apiadmin/live/manager/sendCourseSellCmd',
        method: 'post',
        data: data
    })
}
//获取播放信息
export function getPlayInfo(data) {
    return request({
        url: '/apiadmin/live/manager/getPlayInfo',
        method: 'post',
        data: data
    })
}